package oakclub.entity;

public class FriendEntity extends BaseEntity
{
    private long id;
    private String name;
    private GenderEntity gender;

    public FriendEntity()
    {

    }

    public FriendEntity(long id, String name, int genderId)
    {
        this.id = id;
        this.name = name;
        this.gender = new GenderEntity(genderId);
    }

    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public GenderEntity getGender()
    {
        return gender;
    }

    public void setGender(GenderEntity gender)
    {
        this.gender = gender;
    }
}
